<%@page import="com.lyf.util.DateUtil"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="../include/base.jsp" %>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">	
	<title>CRM-contact-mapping</title>
	<meta charset="UTF-8">
	<%@ include file="../include/head.jsp" %>
	<style type="text/css">
		table.mapping {
		    font-size: 12px;
		    width: 100%;
		}
		table.mapping th {
		    background-color: #EFEFEF;
		    border-bottom: 1px solid #DCDCDC;
		    padding: 5px 5px 5px 10px;
		}
		
		table.mapping td {
		    border-bottom: 1px solid #EDEDED;
		    padding: 5px 5px 5px 10px;
		}
	</style>
</head>

<body class="crm">
	
<jsp:include page="../include/top.jsp">
	<jsp:param value="contact" name="tag"/>
</jsp:include>


<div class="container-fluid">
	<div class="row-fluid">
		<div class="row-fluid">
		<div class="span8">
		<div class="well screen">
		<div class="page-header header"> 您已经成功导入 ${mount }个联系人 (包括相关的公司). </div>
		<div id="parties_loading" class="live_search_spinner" behavior="spinner">
			<div class="liner">
			<h3>处理中</h3>
				<img alt="WorkXP" src="${basePath }/img/indicator.gif">
			</div>
		</div>
		<div id="main" class="main">
			<div style="margin-top:15px">
				<h4>下面这些联系人信息对吗？</h4>
				<p>请在导入之前核对这些联系人例子</p>
			</div>
			<table id="contacts" class="index table">
			<tbody>
			<c:forEach items="${contactList }" var="c" begin="1" end="15">
				<tr>
					<td width="35px">
						<a class="quick-view" data-id="857222" href="#">
						<span style="display: inline-block;border:1px solid #CCCCCC;background: url('${basePath}/img/workxp_sprites.png') no-repeat -112px -148px transparent; width: 32px; padding-top: 32px;font-size:1px"></span>
						</a>
					</td>
					<td width="50%">
						<h3>
						<a href="${basePath }/contact/show?id=${c.id}">${c.name }</a>
						<span></span>
						</h3>
						<div class="info"> </div>
					</td>
					<td class="description">
						<h3></h3>
						<div> </div>
					</td>
				</tr>
			</c:forEach>
			
			</tbody>
			</table>
			<div class="import-action">
				<a class="btn btn-primary" href="${basePath }/contact/importReal">确定导入</a>
				<a class="btn" rel="nofollow" data-method="put" href="${basePath }/contact/mapping?from=${param.from}">回到上一步重新匹配</a>
			</div>
			<script charset="utf-8" type="text/javascript">
				$(document).ready(function() {
					ContactQuickShow.init();
					$(".import-action a").click(function() {
						$(this).attr('data-loading-text', '处理中..');
						$(this).button('loading');
					});
				});
			</script>
		</div>
		</div>
		</div>
		
		
		<div class="span4 sidebar"> </div>
	</div>
</div>
	
</div>

</body></html>
